﻿@inject Microsoft.AspNetCore.Hosting.IWebHostEnvironment HostingEnvironment
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge">
    <meta name="keywords" content="Absky 管理系统" />
    <meta name="description" content="Absky 管理系统" />
    <link rel="icon" href="~/favicon.ico">
    <title>Absky 管理系统 - 登录</title>
    @*<script src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>*@
</head>

<body>
    <link href="~/Views/Login/AdminTheme5/index.css" rel="stylesheet" />

    <img src="~/images/login/defaultbg.png" />
    <input id="errornum" type="hidden" value="@ViewBag.ErrorNum" />
    <div class="ab-login-body">
        <div class="ab-login-logo">
            <img src="~/images/login/logow.png" alt="">
            <div class="ab-login-title">
                敏捷开发框架系统平台
            </div>
        </div>
        <div class="ab-login-middle">
            <img src="~/images/login/default_left.png" />
            <!--登录框 正常登录-->
            <div class="ab-login-main ab-login-normal">

                <!--密码登录-->
                <div class="ab-login-bypsw noreg">
                    <div class="error_info">*&nbsp;<span>密码不正确</span></div>
                    <img class="ab-login-toCode" login-access="psw" src="~/images/login/default_code.png" alt="">
                    <div class="ab-login-input">
                        <img class="inp_icon" src="~/images/login/default_account0.png" alt=""> <input id="ab_username" type="text" placeholder="手机号/帐号" value="@ViewBag.UserName">
                    </div>
                    <div class="ab-login-input">
                        <img class="inp_icon" src="~/images/login/default_psw0.png" alt=""><input id="ab_password" type="password" placeholder="密码" value="@ViewBag.Password">
                        <span id="psw_change"></span>
                    </div>
                    <div class="ab-login-input ab-login-reg">
                        <img class="inp_icon" src="~/images/login/default_reg0.png" alt=""><input id="ab_verifycode_input" type="text" placeholder="验证码">
                        <img class="code" id="ab_verifycode_img" src="~/Login/GetCaptchaImage" alt="点击切换验证码" title="点击切换验证码" />
                    </div>
                    <div class="ab-login-btn" id="ab_login_btn"><span>登录</span></div>
                    @*<div class="ab-login-weixin" style="font-size: 12px;margin-top: 15px;text-align: right;padding-right: 71px;"><a href="https://open.weixin.qq.com/connect/qrconnect?appid=wxd75b6651c86f816b&redirect_uri=http%3a%2f%2fwww.absky.cn&response_type=code&scope=snsapi_login&state=STATE#wechat_redirect">微信登录</a></div>*@
                    <div class="ab-login-version">版本号：@GlobalContext.GetVersion()</div>
                </div>

                <!--二维码登录-->
                <div class="ab-login-bycode">

                    <img class="ab-login-toCode" src="~/images/login/windos_pc.png" alt="">
                    <div class="ab-login-info" id="wechatimg">
                        <img src="~/images/login/qrcode.png" alt="">
                        <p>微信扫一扫 获体验资格</p>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <div class="ab-login-footer"> <p>Copyright © @DateTime.Now.Year www.absky.cn 版权所有</p><p>QG-ABSKY 敏捷开发框架官方网站：http://www.absky.cn</p></div>

    <script src="~/js/jquery/jquery-1.10.2.min.js"></script>
    <script src="~/js/jquery/jquery.md5.min.js"></script>
    <script>
        function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" };
        $.rootUrl = '@Url.Content("~")'.substr(0, '@Url.Content("~")'.length - 1);
        $.abToken = $('@Html.AntiForgeryToken()').val();
        //var obj = new WxLogin({
        //    self_redirect: false,
        //    id: "wechatimg",
        //    appid: "wxd75b6651c86f816b",
        //    scope: "snsapi_login",
        //    redirect_uri: "http%3a%2f%2fwww.absky.cn",
        //    state: "",
        //    style: "",
        //    href: ""
        //});
    </script>
    <script src="~/Views/Login/AdminTheme5/index.js"></script>
</body>
</html>